<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="">
<script src="js/jquery-1.9.0.js" type="text/javascript"></script>
<script type="text/javascript"
	src="admin/js/validity/jquery.validity.min.js"></script>
	<link rel="stylesheet" type="text/css"
	href="admin/css/jquery.validity.css" />
<script type="text/javascript">
	$(document).ready(function() {
		$("form").validity(function() {
			alert("check");
			$("#vehicles") // The first input:       
			.require() // Required:        
			.match("number") // In the format of a number:        
			.range(4, 12); // Between 4 and 12 (inclusively):        
			$("#dob") // The second input:        
			.require() // Required:        
			.match("date") // In the format of a date:        
			.lessThanOrEqualTo(new Date()); // In the past (less than or equal to today):
			return false;
		});
	});
</script>
</head>
<body>
	<a href="news!newsList">Test</a>
	<br>
	<a href="front/news!hotNewsList">hotNewsList</a>
	<br>
	<a href="front/news!bindNews">Test2</a>
	<br>
	<a href="front/user!updateUser?id=1">更新用户</a>
	<br>
	<a href="front/user!addUser">添加用户</a>
	<br>
	<a href="front/reply!replyCount?newsId=1">test replyCount</a>
	<a
		href="admin/user!signIn?user.userName=smiles&&user.password=amdim&&user.isAdmin=1">tes</a>
	<a href="admin/user!loadSessionAdmin">tes</a>
	<form action="">
		Number of Vehicles: <input type="text" id="vehicles" name="vehicles"
			title="Vehicle Count" /> <br /> <br /> Date of birth: <input
			type="text" id="dob" name="dob" title="Birthday" /> <br /> <br />
		<input type="submit" />
	</form>
</body>
</html>